package com.xiyu.service.repository.office.building;

import com.xiyu.service.model.office.building.OfficeBuildingUnit;
import com.xiyu.service.model.office.building.OfficeBuildingUnitTable;
import org.babyfish.jimmer.spring.repository.JRepository;

import java.util.List;

public interface OfficeBuildingUnitRepository extends JRepository<OfficeBuildingUnit, Long> {
    OfficeBuildingUnitTable officeBuildingUnitTable = OfficeBuildingUnitTable.$;

    List<OfficeBuildingUnit> findByBuildingId(Long buildingId);
}